.sidebar{
    width: 110px;
    height: 80vh;
    overflow: hidden;
    background: #6495ed;
    border-radius: 20px;
    transition: all .5s;
    position: fixed;
    top: 85px;
    left: 25px;
    color: rgba(255,255,255,0.6);
}
/*.el-color-dropdown:hover .sidebar{
    width: 250px;
}*/
.sidebar:hover{
    width: 250px;
}

.btn{
    width: 60px;
    height: 10px;
    display: flex;
    justify-content: space-around;
    margin-top: 25px;
    margin-left: 25px;
}
/*三圆点*/
.btn-item{
    width: 10px;
    height: 10px;
    border-radius: 50%;
}
.btn-item:nth-child(1){
    background: #eb5a56;
}
.btn-item:nth-child(2){
    background: #f8bc33;
}
.btn-item:nth-child(3){
    background: #62cb44;
}
/*头像*/
.sidebar-avatar{
    position: relative;
    width: 220px;
    height: 60px;
    margin-top: 25px;
    margin-left: 25px;
    display: flex;
}
.avatar-img{
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 4px solid rgba(255,255,255,0.3);
}
.avatar-img img{
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}
.sidebar:hover .avatar-con{
    opacity: 1;
}
.avatar-con{
    height: 60px;
    margin-left: 20px;
    transition: all .5s;
    opacity: 0;
}
.avatar-con h2{
    margin: 5px 0;
    font-weight: bold;
}
/*分隔线*/
.line{
    width: 60px;
    height: 1px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    margin: 20px 25px;
    transition: all .5s;
}
.sidebar:hover .line{
    width: 200px;
}

.title{
    width: 60px;
    margin-left: 25px;
    margin-bottom: 20px;
}
.title p{
    font-size: 14px;
}
.sidebar .menu{
    width: 60px;
    margin-left: 25px;
    transition: all .5s;
}
.item{
    display: flex;
    position: relative;
    transition: all .5s;
    border-radius: 6px;
    cursor: pointer;
}
.item:hover {
    background: rgba(255,255,255,0.1);
}
.icon{
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.icon i{
    font-size: 25px;
}
.con{
    width: 0;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: left;
    position: relative;
    /* left: -20px; */
    transition: all .5s;
    overflow: hidden;
    opacity: 0;
    white-space:nowrap;
}
.sidebar:hover .con{
    width: 150px;
    opacity: 1;
}
.active{
    opacity: 1!important;
}

.menu:hover .light{
    opacity: 0!important;
}
.light{
    width: 6px;
    height: 50px;
    background: #eb5a56;
    position: absolute;
    left: -25px;
    transition: all .5s;
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
    opacity: 0;
}
.menu .item:hover .light{
/*    width: 6px;
    display: flex;
    align-items: center;
    justify-content: center;*/
    opacity: 1!important;
}
/*sidebar鼠标移上去时，宽度展开*/
.sidebar:hover .menu{
    width: 200px;
}